SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 40932: "Error: Cannot set AUTOCOMMIT=NO due to driver limitations" when using PROC IMPORT or PROC EXPORT

DetailsAboutRate It

Errors might occur when you use the IMPORT and EXPORT procedures following a LIBNAME using the PCFILES engine. A sample log is shown below:

libname test pcfiles path='c:\sastest\mycars1.accdb';
NOTE: Libref TEST was successfully assigned as follows:
      Engine:        PCFILES
      Physical Name: c:\sastest\mycars1.accdb

proc export data=sashelp.class 
outfile='c:\sastest\myfilenew2.xlsx' 
dbms=excelcs replace;
run;

ERROR: Cannot set AUTOCOMMIT=NO due to driver limitations.
ERROR: Error in the LIBNAME statement.
Connection Failed.  See log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE EXPORT used (Total process time):
      real time           0.09 seconds
      cpu time            0.03 seconds

To circumvent the problem, issue a LIBNAME libref CLEAR; statement to clear the LIBNAME statement before using the IMPORT or EXPORT procedures. For the example above, this would be as follows:

LIBNAME TEST CLEAR;


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M39.3 TS1M0
Microsoft® Windows® for x649.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x649.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x649.2 TS2M39.3 TS1M0
64-bit Enabled AIX9.2 TS2M39.3 TS1M0
64-bit Enabled HP-UX9.2 TS2M39.3 TS1M0
64-bit Enabled Solaris9.2 TS2M39.3 TS1M0
HP-UX IPF9.2 TS2M39.3 TS1M0
Linux9.2 TS2M39.3 TS1M0
Linux for x649.2 TS2M39.3 TS1M0
Solaris for x649.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.